package com.hehua.web.observer.demo1;

public interface Subject {

    void attach(Observer observer);
    void detach(Observer observer);
    void notifyAction();
    String getSubjectState();
    void setSubjectState(String state);
}
